<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2024/8/17
  Time: 19:49
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>选择项目</title>
      <%
        String base = request.getContextPath() + "/";
        String url = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + base;
    %>
    <base href="<%=url%>">
    <script type="text/javascript" src="js/jquery-1.8.3.js"></script>
    <script type="text/javascript">
    $(document).on("click","[name='aa']",function () {
      var pId = $("select").val();
      window.location.href="insert.jsp?pId="+pId;
    });

    </script>
  </head>
  <body>
  <table border="1px">
    <tr>
      <td colspan="2" width="300px" font-size="60px">企业工单管理系统</td>
    </tr>
    <tr>
      <td>选择项目</td>
      <td >
        <select>
          <option value="1">系统开发部</option>
          <option value="2">课件制作中心java项目组</option>
          <option value="3">产品设计中心项目组</option>
        </select>
        <input type="button" name="aa" value="确定"/>
      </td>
    </tr>
  </table>
  </body>
</html>
